package com.sky.prototype;





class Person{

    protected String name ;

    public String getName( ) {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}


class student extends Person{

    String schoolName ;

    public String getSchoolName( ) {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public student( String name , String schoolName ) {
        this.name = name ;
        this.schoolName = schoolName;
    }
}


/**
 * date : 10/13/2024
 *
 * @author : wushikai
 */
public class Application {


    public static void main(String[] args) {

        student sky = new student("sky", "NCEPU");
        student land = new student("land", "NCEPU");
        System.out.println(sky.equals(land));


    }


}
